package com.caird.pmp.iot.service;

import com.caird.pmp.iot.cache.SimNoListCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CacheService {

    @Autowired
    SimNoListCache simNoListCache;


    /**
     * 判断SimNo是否存在
     */
    public boolean isSimNoExist(String simNo) {
        return simNoListCache.getSimNoList().contains(simNo);
    }
}
